C#
VB
Java
C++
Adds a new item into the cache using the default region.
public virtual bool Add<T>(
CacheItem<T> item,
CacheItemPolicy policy
)
Public Overridable Function Add(Of T)(
ByVal item As CacheItem(Of T),
ByVal policy As CacheItemPolicy
) As Boolean
public:
generic<typename T>
virtual bool Add(
CacheItem<T>^ item,
CacheItemPolicy^ policy
)
item
Item to add.
policy
Expiration policy to use.
true if the item was added successfully, false if there is an item in the cache that has the same key.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET